package com.offcn.entity;

/**
 * @author xyll1
 */
public class CourseDetail {
    //明细id
    private  Integer id;
    //课程明细名称
    private String name;
    //所属章节
    private String type;
    //视频名称
    private String url;
    //开课时间
    private String start_data;
    //关联的课程id
    private  Integer cid;

    public CourseDetail() {
    }

    public CourseDetail(Integer id, String name, String type, String url, String star_date, Integer cid) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.url = url;
        this.start_data = star_date;
        this.cid = cid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getStar_date() {
        return start_data;
    }

    public void setStar_date(String star_date) {
        this.start_data = star_date;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    @Override
    public String toString() {
        return "CourseDetail{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", url='" + url + '\'' +
                ", star_date='" + start_data + '\'' +
                ", cid=" + cid +
                '}';
    }
}
